﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Map.ascx.cs" Inherits="letGo.Control.Map" %>
<link href="../Style/ControlStyle/ControlStyle.css" rel="stylesheet" type="text/css" />

<div>
<div style="float: left; margin-top:5px; margin-right:30px; font-size:20px;">位置信息</div>
    <div id="MapLeftSide" class="MapLeftSide" style=" width: 250px;
        height: 410px;">
        
        <div style="float: left;padding: 2px 0px 0px 0px; font-size: 12px">
            
            <b>鼠标左键在地图上单击获取坐标</b>
            <br>
            <div>
                X：<input type="text" id="lngX" name="lngX" value="" />
                <br>
                Y：<input type="text" id="latY" name="latY" value="" /></div>
            <div id="result" class="searchResult">
            </div>
        </div>
    </div>
    
    </div>
    <div id="MapMenu" class="MapMenu">
        
        <%-----------------------位置-----------------------------------%>
        <div id="Menu-buttom-map" class="Menu-buttom-map" style="display: block;">
            <div id="SearchKeyWord" class="SearchKeyWord">
                <input type="text" id="SearchKeyWordId" style="float: left; border: 1px solid black"
                    name="SearchKeyWordName" value="" />
                <input type="button" id="SearchConfirm" style="border: 1px solid black; float: left"
                    value="查询" onclick="placeSearch()" />
                <div type="table" id="Message" style="float: left; margin-top: 1px; margin-left: 5px;">
                </div>
            </div>
            <div id="Map" class="Map" style="height: 410px;">
                <script src="../Script/myJs/DefaultMap.js" type="text/javascript"></script>
                <script type="text/javascript" language="javascript">
                    var marker0;
                    var marker = new Array();
                    var windowsArr = new Array();
                    var mapObj;
                    var x = 121.5535395211486;
                    var y = 31.28991933434041;
                    mapInit();


                    $(SearchKeyWordId).keypress(function (e) {

                        var curKey = e.which;
                        if (curKey == 13) {
                            placeSearch();
                        }
                        return false;
                    })

                    

                </script>
            </div>
        </div>
        <%--------------------------------------------------------------%>
    </div>
</div>
